Unsubscribe<T> Method

Summary
Allows components to un-register from a typed events registered with the Subscribe<T> method.
Syntax
C#
VB
C++
public void Unsubscribe<T>( 
   EventHandler<T> onEventExecuted 
) 
  
Sub Unsubscribe(Of T As EventArgs)( _ 
   ByVal onEventExecuted As EventHandler(Of T) _ 
)  
void Unsubscribegeneric<typename T> 
(  
   EventHandler<T^>^ onEventExecuted 
)  
where T: EventArgs 

Parameters

onEventExecuted
A callback that is used when calling the Subscribe<T> method.

Type Parameters

T
The type of the event the component is wants to unsubscribe from.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.